//
//  HEPreferModel.h
//  HealthFamily
//
//  Created by 吴欧 on 2021/5/7.
//  Copyright © 2021 honglutec. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN
@class HEPreferGood;
@class HEPreferRule;

@interface HEPreferModel : NSObject

@property (nonatomic, assign) NSInteger id;

@property (nonatomic, assign) NSInteger activiGoods;

@property (nonatomic, assign) NSInteger status;

@property (nonatomic, strong) NSArray *productRelationList;

@property (nonatomic, copy) NSString *rules;

@property (nonatomic, copy) NSString * endTime;

@property (nonatomic, assign) NSInteger activiUser;

@property (nonatomic, strong) NSArray *actrule1;

@property (nonatomic, copy) NSString *name;

@property (nonatomic, copy) NSString *selectRule;

@property (nonatomic, copy) NSString *goodsDs;

@property (nonatomic, assign) NSInteger storeId;

@property (nonatomic, assign) NSInteger bigType;

@property (nonatomic, strong) NSArray *memberLevelList;

@property (nonatomic, assign) NSInteger minAmount;

@property (nonatomic, strong) NSArray *productCategoryRelationList;

@property (nonatomic, assign) NSInteger smallType;

@property (nonatomic, copy) NSString *userLevel;

@property (nonatomic, copy) NSString *note;

@property (nonatomic, copy) NSString * createTime;

@property (nonatomic, strong) NSArray *actrule;

@property (nonatomic, copy) NSString * startTime;


#pragma mark -
@property (nonatomic, strong) NSArray <HEPreferGood *>*KgoodsDs; 

@property (nonatomic, strong) NSArray <HEPreferRule *>*Krules;

@end

@interface HEPreferRule : NSObject

@property (nonatomic, copy) NSString *fullPrice;

@property (nonatomic, copy) NSString *reducePrice;

@end


@interface HEPreferGood : NSObject

@property (nonatomic, assign) NSInteger id;

@property (nonatomic, copy) NSString *name1;

@property (nonatomic, copy) NSString *pic;

@property (nonatomic, copy) NSString *name;

@property (nonatomic, copy) NSString *price;

@end

NS_ASSUME_NONNULL_END
